﻿using System;

namespace tiny_compiler
{
	class Program
	{
		static void Main(string[] args)
		{
			Compiler compiler = new Compiler();

			//SimpleCode.Generate(compiler);
			GameCode.Generate(compiler);

			string code = compiler.Compile();
			Console.WriteLine("length : " + code.Length.ToString());
			Console.WriteLine(code);
			CopyToClipboard.Copy(code);
		}
	}
}
